package com.cangxuan.manage.exception;

import lombok.Data;

/**
 * 服务自定义异常
 */
@Data
public class ServiceException extends RuntimeException {

    int status;

    public ServiceException(int status, String message) {
        super(message);
        this.status = status;
    }
}
